import { LoggerService, LoggerInfo } from './../../../framework/logger/logger.service';
import { Component, Input, OnChanges } from '@angular/core';
@Component({
    selector:'wit-input',
    styleUrls:['./input.component.scss'],
    templateUrl:'./input.component.html'
})

export class InputComponent {
    @Input() disabled:boolean;
    @Input() clear:boolean;
    @Input() placeholder:any='';
    currentVal:any;
    constructor(private _logger:LoggerService){}
    clearVal(){
        this.currentVal = null;
        this._logger.info(new LoggerInfo('Input Component','current has clear success',null));
    }
}